import React,{ Component } from 'react';
import '../index/index.scss';
import './moments.scss';
export default class CompanyDynamic extends Component{
	goBack () { //返回上一级
		this.props.history.goBack()
	}
	componentDidMount(){
		document.title = '公司动态详情'
	}
	render(){
		return(
			<div className="companyDynamic">
				{/*<div className="title">
					<div onClick={this.goBack.bind(this)}><i className="glyphicon glyphicon-left"></i></div>
					<div>公司动态详情</div>
					<div><i className="glyphicon glyphicon-options"></i></div>
				</div>*/}
				<div dangerouslySetInnerHTML={{__html: this.props.location.state.company_news_detail}}>
				</div>
			</div>
		)
	}
}